Q3Shape_GetType
You can use theQ3Shape_GetType
function to get the type of a shape.
TQ3ObjectType Q3Shape_GetType (TQ3ShapeObject shape);
shape
- A shape object.
DESCRIPTION
TheQ3Shape_GetType
function returns, as its function result, the type of the shape specified by theshape
parameter. The types of shapes currently supported by QuickDraw 3D are defined by these constants:
kQ3ShapeTypeCamera kQ3ShapeTypeGeometry kQ3ShapeTypeGroup kQ3ShapeTypeLight kQ3ShapeTypeShader kQ3ShapeTypeStyle kQ3ShapeTypeTransform kQ3ShapeTypeUnknownIf the type of the shape cannot be determined or is invalid,Q3Shape_GetType
returns the valuekQ3ObjectTypeInvalid
.